package org.mm.service.impl;

import org.mm.model.Measurement;
import org.mm.repository.MeasurementRepository;
import org.mm.service.MeasurementService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service("measurementService")
@Transactional
public class MeasurementServiceImpl implements MeasurementService {

	@Autowired
	private MeasurementRepository measurementRepository;


	public Measurement save(Measurement  measurement) throws Exception {
		return measurementRepository.save(measurement);
	}

}
